package com.zl.cms.web;

import javax.servlet.http.HttpSessionEvent;
import javax.servlet.http.HttpSessionListener;

/**
 * User: zl email:c3tc3tc3t@126.com Date: 14-4-1 Time: 下午12:15
 */
public class CmsSessionListener implements HttpSessionListener {
  @Override
  public void sessionCreated(HttpSessionEvent event) {

  }

  @Override
  public void sessionDestroyed(HttpSessionEvent event) {
		CmsSessionContext.removeSession(event.getSession());
	  System.out.println("移除了Session "+event.getSession().getId());
  }
}
